import request from '@/utils/request'

export const ManagerCaptcha = (data) => {
  return request({
    url: `/captcha?key=${data}`
  })
}

/* 写一个登录按钮的接口 */
export const ManagerLogin = (data) => {
  return request({
    url: '/login',
    method: 'POST',
    data
  })
}
